/**
 * This file is part of 1genia trampoline
 * Copyright (C) 2007 1genia (contact@1genia.com)
 *
 * This library is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; version 3 of the License. 
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details. 
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; see the file COPYING.TXT.  If not,
 * write to the Free Software Foundation, Inc., 51 Franklin Street,
 * Fifth Floor, Boston, MA 02110-1301, USA. 
 **/
package com.genia.toolbox.web.constant;

/**
 * class containing constants related to http headers.
 */
public class HttpHeader
{
  /*
   * Cache-Control headers and parameters.
   */

  /**
   * the Cache-Control header.
   */
  public static final String CACHE_CONTROL = "Cache-Control";

  /**
   * the Pragma header.
   */
  public static final String PRAGMA = "Pragma";

  /**
   * the max-age parameter for Cache-Control.
   */
  public static final String CACHE_CONTROL_MAXAGE = "max-age=";

  /**
   * the must-revalidate parameter for Cache-Control.
   */
  public static final String CACHE_CONTROL_MUST_REVALIDATE = "must-revalidate";

  /**
   * the no-cache parameter for Cache-Control.
   */
  public static final String CACHE_CONTROL_NO_CACHE = "no-cache";

  /**
   * the private parameter for Cache-Control.
   */
  public static final String CACHE_CONTROL_PRIVATE = "private";

  /**
   * the public parameter for Cache-Control.
   */
  public static final String CACHE_CONTROL_PUBLIC = "public";

  /*
   * Other headers.
   */

  /**
   * the Content-Encoding header.
   */
  public static final String CONTENT_ENCODING = "Content-Encoding";

  /**
   * the Content-Length header.
   */
  public static final String CONTENT_LENGTH = "Content-Length";

  /**
   * the Content-Type header.
   */
  public static final String CONTENT_TYPE = "Content-Type";

  /**
   * the Content-Disposition header.
   */
  public static final String CONTENT_DISPOSITION = "Content-Disposition";

  /**
   * the Date header.
   */
  public static final String DATE = "Date";

  /**
   * the ETag header.
   */
  public static final String ETAG = "ETag";

  /**
   * the Expires header.
   */
  public static final String EXPIRES = "Expires";

  /**
   * the If-Modified-Since header.
   */
  public static final String IF_MODIFIED_SINCE = "If-Modified-Since";

  /**
   * the If-None-Match header.
   */
  public static final String IF_NONE_MATCH = "If-None-Match";

  /**
   * the Last-Modified header.
   */
  public static final String LAST_MODIFIED = "Last-Modified";



  /**
   * empty private constructor for static class.
   */
  private HttpHeader()
  {
    // Do nothing.
  }
}
